@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app{
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus{
  outline: none;
 }

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

code {
  background: #eef1f6;
  padding: 15px 16px;
  margin-bottom: 20px;
  display: block;
  line-height: 36px;
  font-size: 15px;
  font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
  a {
    color: #337ab7;
    cursor: pointer;
    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

.warn-content{
  background: rgba(66,185,131,.1);
  border-radius: 2px;
  padding: 16px;
  padding: 1rem;
  line-height: 1.6rem;
  word-spacing: .05rem;
  a{
    color: #42b983;
    font-weight: 600;
  }
}

//main-container全局样式
.app-container {
  padding: 12px;
  font-family: 'Microsoft YaHei', Arial, sans-serif ,'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB';
}

.components-container {
  margin: 30px 50px;
  position: relative;
}


.text-center {
  text-align: center
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);
  .subtitle {
    font-size: 20px;
    color: #fff;
  }
  &.draft {
    background: #d0d0d0;
  }
  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;
  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;
  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}

/** 输入框高度 */
.el-input--medium .el-input__inner {
  height: 34px;
  line-height: 34px;
}
/** 按钮宽度 */
.el-button--medium.is-round {
  // padding: 8px 38px;
  padding: 6px 20px;
  letter-spacing: 6px;
  font-size: 16px;
}
.your-table .el-table__body-wrapper::-webkit-scrollbar {
width: 10px;
height: 10px;
}

/** 添加编辑弹窗 */
// .el-dialog__header{
// padding: 0 0 10px 0
// }

.el-dialog__headerbtn{
top: 8px;
}

/** 表单验证字体大小 */
.el-form-item__error{
font-size: 8px;
padding-top: 0px;
}

/** 树形选择颜色*/
.el-checkbox__input.is-indeterminate .el-checkbox__inner{
  background-color: #247CAA;
  border-color: #247CAA;
}

.el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  background-color: #247CAA;
  border-color: #247CAA;
}
.el-message-box__btns button:nth-child(2) {
  margin-left: 10px;
  background-color: #247CAA;
}
/* 分页选择颜色 */
.el-pagination.is-background .el-pager li:not(.disabled).active {
  background-color: #247CAA;
  color: #FFF;
}
// 弹窗padding
// .el-dialog__body {
//   padding: 0px 12px ;
// }
// 输入框 选择框长度设置
// .el-form-item__content .el-input--medium .el-input__inner{
//   width: 220px;
// }

// 输入框最外层
// .el-input--medium{
//   width: 220px !important;
// }

.note .el-form-item__content .el-input--medium .el-input__inner {
  width: 150px !important;
}
.text .el-form-item__content .el-input--medium {
  width: 100% !important;
}
.text .el-form-item__content .el-input--medium .el-input__inner {
  width: 100% !important;
}
// 搜索输入框 选择框长度设置
.filter .el-form-item__content .el-input--medium .el-input__inner{
  width: 149px;
}
.filter .el-input--medium{
  width: 149px !important;
}

.longPut .el-form-item__content .el-input--medium .el-input__inner{
  width: 200px !important;
}
.longPut .el-input--medium{
  width: 200px !important;
}


.filter .searchOne .el-input--medium{
  width: 222px !important;
}
.filter .searchOne .el-form-item__content .el-input--medium .el-input__inner{
  width: 222px !important;
}

// 分页输入框
.el-pagination__jump > .el-input--medium{
  width: 50px !important;
}
// 分页输入框
.el-pagination__editor.el-input .el-input__inner{
  width: 46px !important;
}

// 子表table
.el-tabs--border-card>.el-tabs__content{
  padding: 4px 10px;
}

// tag选中颜色
.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{
  color: #247CAA;
}
// 必填图标隐藏

.buttonTag .el-table .cell{
  text-overflow: hidden !important;
}

// 子表左侧表单居中
.tableLeft{
  display: flex;
  flex-direction: column;
  justify-content: center
}
/** 滚动条 */
::-webkit-scrollbar{
    width:6px;
    height: 8px;
}
::-webkit-scrollbar-thumb{
    border-radius:10px;
    background:#AAAAAA;
}
::-webkit-scrollbar-track{
    border-radius:10px;
    height:100px;
    background:#E4E4E4;
}
